package com.tencent.qf.user.dto.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author: p_haojiawu@tencent.com
 * @date: 2023-06-16 10:31
 **/

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TaskAwardData {

    private TaskIncome taskIncome;
    private List<WaitTaskPhaseDatum> waitTaskPhaseData;

    @Data
    public static class TaskIncome {
        /**
         * 预估奖励金（分）
         */
        private long predictIncome;
        /**
         * v实际奖励金（分）
         */
        private long taskBonusSettlementBillAmount;
        /**
         * 预估-实际
         */
        private long waitTaskBonusSettlementBillAmount;
    }

    @Data
    public static class WaitTaskPhaseDatum {
        /**
         * 预估收益
         */
        private Long predictAwardAmount;
        /**
         * 子任务id
         */
        private Long taskPhaseid;
        /**
         * 任务名称
         */
        private String taskPhaseName;
    }
}
